﻿package
{
	
	import flash.display.*;
	
	public dynamic class mcScreenGameOverSkin extends MovieClip
	{
		
		public var playAgainBtn:MovieClip;
		public var quitBtn:MovieClip;
		
		public function mcScreenGameOver()
		{
			
			addFrameScript(0, frame1, 1, frame2);
			
		}
		
		internal function frame1():void
		{
			
			stop();
			
		}
		
		internal function frame2():void
		{
			
			trace("Kill frame");
			
				while (numChildren)
				{
					
					removeChildAt(0);
					
				}
				
				stop();
				
					if (parent != null)
					{
						
						parent.removeChild(this);
						
					}
		}
		
	}
}